package cn.juque.datapipeline.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>TaskStatusEnum</li>
 * </ul>
 * @date 2023-04-07 11:00:51
 **/
public enum TaskStatusEnum {

    /**
     * enum
     */
    ENABLE(1, "启动"),
    DISABLED(-1, "禁用");
    private final Integer code;

    private final String label;

    TaskStatusEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }
}
